package com.gxar.quick.ar.server.base.model.works.vo.request;

import com.alibaba.fastjson2.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author linsy
 * @version 1.0
 * @created 2024/2/18 10:25
 */
@Data
@ApiModel("作品模板兑换请求")
public class WorksTemplateExchangeRequest {

    @ApiModelProperty("兑换码")
    @JSONField(name = "code")
    @JsonProperty("code")
    @NotBlank(message = "兑换码不能为空")
    private String code;

}
